package hcn.protocol.brandnew.feiyong.zhifu;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 住院预缴金新增-请求消息 - ODS_04020004
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class HospitalizationDepositRequest extends BaseRequest {

    /**
     * 医院ID
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 住院号
     */
    @XmlElement(name = "VisitId")
    private String visitId;
    /**
     * 支付方式
     */
    @XmlElement(name = "MedicalCostPayTypeCode")
    private String medicalCostPayTypeCode;
    /**
     * 付款金额
     */
    @XmlElement(name = "SelfCost")
    private String selfCost;
    /**
     * 实际支付时间
     */
    @XmlElement(name = "SettleDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date settleDateTime;
    /**
     * 交易流水号
     */
    @XmlElement(name = "AgtOrderNumber")
    private String agtOrderNumber;
    /**
     * 聚合支付交易流水号
     */
    @XmlElement(name = "ChannelOrderNumber")
    private String channelOrderNumber;
    /**
     * 商户订单号
     */
    @XmlElement(name = "OutOrderNumber")
    private String outOrderNumber;

}
